package org.millioncall.yueyoga.admin.dao;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Area;

public interface AreaDAO{

	public PaginatedList<Area> findPage(int start, int pageSize);

	public int update(Map<String, Object> map);

	public int save(Map<String, Object> map);

	public void deleteByIds(Integer[] deids);

	public PaginatedList<Area> findPage(int start, int pageSize,
			Map<String, Object> map);

	public List<Area> findPage(Map<String, Object> map);

	public List<Area> findPage();

	public List<Area> findAreaByAreaId(Map<String, Object> map);
	
	public Area findAreaById(Integer areaId);
}
